package com.xhdx.pattern.filter;

public class Student {
    private String name;//姓名
    private String gender;//性别
    private Float score;//分数

    public Student(String name, String gender, Float score) {
        this.name = name;
        this.gender = gender;
        this.score = score;
    }

    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getGender() {
        return gender;
    }
    public void setGender(String gender) {
        this.gender = gender;
    }

    public Float getScore() {
        return score;
    }

    public void setScore(Float score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return "Student [name=" + name + ", gender=" + gender+ ", score=" + score + "]";
    }
}
